package com.yehangtech.designpattern.创建型_抽象工厂.adpater;


import com.yehangtech.designpattern.创建型_抽象工厂.cache.MesCache;

public class MesAdapter implements ICacheAdapter {
    @Override
    public String get(String key) {
        return MesCache.getMsg(key);
    }

    @Override
    public void set(String key, String data) {
        MesCache.setMsg(key, data);
    }
}
